home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Web Graphics with Shout 3D
/
Interactive Web Graphics With Shout 3D.iso
/
pc
/
Shout3Ddemo
/
Shout3d_runtime
/
codebase
/
models
/
stepInterpolatorTest
/
floatStepInterpTest.s3d
< prev
next >
Wrap
Text File
|
2000-07-11
|
1KB
|
64 lines
#VRML V2.0 utf8
Background{
color 1 1 1
}
Transform{
translation -12 10 0
children[
Shape{
geometry Box{ size 20 20 20 }
appearance Appearance{
material DEF BOX_MAT Material{
diffuseColor 0 0 0
emissiveColor 1 0 0
transparency 0
}
}
}
]
}
Transform{
translation -18 10 -6
children[
Shape{
geometry Box{ size 15 15 15 }
appearance Appearance{
material Material{
diffuseColor 0 0 0
emissiveColor 0 0 1
transparency 0
}
}
}
]
}
DEF Combo_Dummy-TIMER TimeSensor{
cycleInterval 2.667
loop TRUE
}
DEF Camera01 Viewpoint{
fieldOfView 0.6024
position 36.45 22.24 -53.66
orientation -0.031 0.997 0.077 -3.907
description "Camera01"
}
DEF FLOAT_TRACK FloatStepInterp{
key [0, .25, .5, .75]
keyValue [0, .3, .6, 1]
}
ROUTE Combo_Dummy-TIMER.fraction_changed TO FLOAT_TRACK.set_fraction
ROUTE FLOAT_TRACK.value TO BOX_MAT.transparency
DEF FLOAT_ARRAY_TRACK FloatArrayStepInterp{
key [0, .25, .5, .75]
keyValue [ 1 0 0, 1 1 0, 0 1 0, 0 0 0 ]
}
ROUTE Combo_Dummy-TIMER.fraction_changed TO FLOAT_ARRAY_TRACK.set_fraction
ROUTE FLOAT_ARRAY_TRACK.value TO BOX_MAT.emissiveColor